<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<!DOCTYPE html>

<html>
<head>
    <title>经营业务经理审查</title>
    <link href="/bootstrap/css/bootstrap.css" rel="stylesheet">
    <script src="/js/jquery.js"></script>
    <script src="/bootstrap/js/bootstrap.min.js"></script>
    <script type="text/javascript">
        $(function () {
            $("[name='showImage']").click(function () {
                var processInstanceId = $(this).attr("processInstanceId");
                $("#taskImageLocation").html("<img src=/task/image/"+processInstanceId+">");
            });
        });
    </script>
</head>

<body style="padding-top: 0;">
    <form action="/lc01test/completeTaskPlanOfficer" method="post">
    <input type="hidden" name="taskId" value="${taskId}">
        <table class="table table-striped">
         <tr>
	         <td>业务名称</td>
	         <td>负责人</td>
	         <td>验收人</td>
	         <td>开始时间</td>
	         <td>结束时间</td>
	         <td>操作</td>
        </tr>
        <c:forEach items="${businessInfos}" var="businessInfo">
	        <tr>
	           <td>${businessInfo.businessName}</td>
	           <td>${businessInfo.resp_person_id}</td>
	           <td>${businessInfo.rece_person_id}</td>
	           <td>${businessInfo.startTime}</td>
	           <td>${businessInfo.endTime}</td>
	           <td><a class="btn btn-default" href="#" processId="${businessInfo.id}" >修改</a></td>
	        </tr>
        </c:forEach>
        </table>
    </form>
</body>
</html>
